//package com.mine.consumer.qabbitmq;
//
//import org.springframework.amqp.rabbit.annotation.RabbitHandler;
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//
//@RabbitListener(queues = "queue1")
//public class Mymq {
//    @RabbitHandler
//    public void getMsg(String msg){
//        System.err.println(msg);
//    }
//}
